/*
 * =====================================================================================
 *
 *       Filename:  HummerH1Model.cc
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/10/2022 12:09:16 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#include "HummerH1Model.h"
#include <iostream>
using std::cout;
using std::endl;
CHummerH1Model::CHummerH1Model(void) {
    m_isAlarm = true;
}

CHummerH1Model::~CHummerH1Model(void) {
}

void CHummerH1Model::Start() {
    cout << "悍马H1发动..." << endl;
}

void CHummerH1Model::Stop() {
    cout << "悍马H1停车..." << endl;
}

void CHummerH1Model::Alarm() {
    cout << "悍马H1鸣笛" << endl;
}

void CHummerH1Model::EngineBoom() {
    cout << "悍马H1引擎声音是这样...." << endl;
}

bool CHummerH1Model::IsAlarm() {
    return this->m_isAlarm;
}

void CHummerH1Model::SetAlarm(bool tag) {
    this->m_isAlarm = tag;
}
